<div class="navbar navbar-inverse"     ng-controller="indexCtrl" role="navigation">
	<div class="container" >
		<div class="row"   data-ng-show="login">
			<ul class="nav navbar-nav">
				<li ><a href="/allprojects">
					<i class="fa fa-home  fa-6"></i>
				所有工程</a></li>
				<li ><a href="/allstaffs">
					<i class="fa fa-user  fa-6"></i>
				所有员工</a></li>
			</ul>
			<ul class="nav navbar-nav navbar-right">
				<li class="dropdown active">
					<a href="" class="dropdown-toggle" data-toggle="dropdown">
					<i class="fa fa-gear fa-6"></i>
					<span data-ng-bind-template="{{user.name}}"></span>
					<b class="caret"></b></a>
					<ul class="dropdown-menu">
						<li><a href="/myprojects"><i class="fa fa-th-large fa-6 fa-fw"></i> 我的项目</a></li>
						<li><a href="/mystaffs"><i class="fa fa-user fa-6 fa-fw"></i> 我的员工</a></li>
						<li class="divider"></li>
						<li><a href="" data-ng-click="addproject()"><i class="fa fa-file-o fa-6 fa-fw"></i> 添加项目</a></li>
						<li><a href="" data-ng-click="addstaff()"><i class="fa fa-plus-square-o fa-6 fa-fw"></i> 添加员工</a></li>
						<li class="divider"></li>
						<li><a href="" data-ng-click="logout()"><span><i class="fa fa-sign-out fa-6 fa-fw"></i></span> 退出登录</a></li>
					</ul>
				</li>
			</ul>
		</div>
		<div class="row"   data-ng-show="!login">
			<ul class="nav navbar-nav">
				<li ><a href="/allprojects">
					<i class="fa fa-login  fa-6"></i>
				&nbsp;</a></li>
			</ul>
		</div>
		
	</div>
</div>